<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        li{
            margin-top: 20px;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items:flex-start;
        }
        form{
            width: 300px;
            height: 500px;
            margin: 150px auto;
        }
        section {
            margin: 50px;
        }
    </style>
</head>
<body>
    <div>
        <form action="./addbook.php" method="get" >
            <div>
                <li><label for="author">作者:</label><input type="text" name="author" id="author" required></li>
                <li><label for="bookName">书名:</label><input type="text" name="bookName" id="bookName" required></li>
                <li><label for="publish">出版社:</label><input type="text" name="publish" id="publish" required></li>
                <li><label for="ptime">出版时间:</label><input type="date" name="ptime" id="ptime" required></li>
                <li><label for="part">书号ISBN:</label><input type="text" name="part" id="part" required></li>
                <li><label for="price">友情价格:</label><input type="text" name="price" id="price" required></li>
                <li><label for="srcImg">图片:</label><input type="file" name="srcImg" id="srcImg" required></li>
            </div>
            <section> <input type="submit"></section>
           
        </form>
    </div>
</body>
</html>